//
//  BMNetWorkURLs.h
//  BlueMobiProject
//
//  Created by 朱 亮亮 on 14-5-12.
//  Copyright (c) 2014年 朱 亮亮. All rights reserved.
//

#ifndef BlueMobiProject_BMNetWorkURLs_h
#define BlueMobiProject_BMNetWorkURLs_h

//Code=-1001 "The request timed out."
//Code=-1009 "The Internet connection appears to be offline."
//Code=-1004 "Could not connect to the server."

/**
 *  超时错误序号 －1001
 */
#define API_COULD_NOT_CONNECT_ERROR -1001
#define API_Request_Success  1
#define Error_Format  @"数据格式错误"
#define Error_Network @"似乎已断开与互联网的连接,请检查"

/**
 *  API的HOST
 */
#define API_HOST        @"http://112.74.77.231/iosserver"
#define BASE_URL        @"http://112.74.77.231"
#define BASE_IMG_URL    @"http://112.74.77.231/data/imgs/"
/**
 *
 *  Socket的HOST
 */
#define SOCKET_HOST @"58.83.147.106"

/**
 *  Socket的PORT
 */
#define SOCKET_PORT 10000

/// Class
#define PublicitfcClass @"Publicitfc"
#define UseritfcClass @"Useritfc"
#define WeiboitfcClass @"Weiboitfc"




/// 请在此定义请求URL

//// 01. 注册接口1
//#define REGISTER1                  [NSString stringWithFormat:@"%@mod=Publicitfc&act=doregister", API_HOST]
////#define REGISTER1                  @"http://192.168.1.152/vmdai/web/app.php/iphone/recommend"
//
//// 02. 上传头像
//#define UPLOAD_FACE                [NSString stringWithFormat:@"%@mod=Publicitfc&act=upload_face", API_HOST]
//
//// 03. 注册接口2
//#define DOSTEP1                    [NSString stringWithFormat:@"%@mod=Publicitfc&act=doStep1", API_HOST]

// 04. 注册接口
#define REGIST                        [NSString stringWithFormat:@"%@/app/user/regist.do", API_HOST]
// 1、	门店登录
#define LOGIN                         [NSString stringWithFormat:@"%@/iosLogin", API_HOST]
// 2.	注销登录请求。
#define LOGIGN_OUT                    [NSString stringWithFormat:@"%@/logout", API_HOST]
// 门店签约审核
#define AUDIT_LIST                    [NSString stringWithFormat:@"%@/website/auditList", API_HOST]
// 门店审核请求
#define AUDIT_REQUEST                 [NSString stringWithFormat:@"%@/website/audit", API_HOST]
// 门店审核请求-审核提交请求
#define AUDIT_Opt                     [NSString stringWithFormat:@"%@/website/auditOpt", API_HOST]
// 门店审核请求-驳回原因提交
#define AUDIT_ResonOpt                [NSString stringWithFormat:@"%@/website/auditResonOpt", API_HOST]

#endif

